<div class="row mar_l15p">
	<div class="row mar_l10p mar_t10p mar_b10p">

		<button class="btn  col-md-3 img_update_animation_btn" ng-click="extendDetail(materialDetailData.index)" ng-class="{false: 'btn-primary', true: 'btn-success'}[successCtrl.isSuccess]">
		 <!--<img src="../img/icon.png" style="width: 40px;display: none;" />-->
	 		{{materialDetailData.name}}
		  <span  class="badge">{{haveChosen}}/{{widgetViewData.length}}</span>
		   <!--<div class="col-md-6" style="">-->
		  <!--<p>{{materialDetailData.descript}}</p>-->
		<!--</div>-->
		  <!--<span  class="badge img_update_badge_success">完成</span>-->
		</button>
		<!--<div class="col-md-2 img_update_mess_success" ng-if="successCtrl.isSuccess">本次成功上传<span class="c_red fw">{{successCtrl.updateCount}}</span>页</div>
		<div class="col-md-6 img_update_descript" style="line-height: 16px;display: none;">
			<span>{{materialDetailData.descript}}</span>
		</div>-->
	</div>
	<div ng-show="extendState" style="margin-right: 25px;">
		<div class="img_update_detailed">
			<img-update-widget ng-repeat="widgetData in widgetViewData" widget-data="widgetData" long-info="longInfo" change-widget-value="changeWidgetValue(obj)" delete-widget="deleteWidget(obj,materialDetailData.minPage,materialDetailData.fixPage)" material-index="widgetData.name" is-allow-delete="isAllowDelete"></img-update-widget>
			<div class="img_update_add" ng-if="materialDetailData.fixPage===0" ng-click="imgAdd(materialDetailData.maxPage,materialDetailData.fixPage)"></div>
			<!--<button class="btn btn-success" ng-class="{false: 'img_update_btn_forbidden', true: 'img_update_btn'}[isAllowUpload]" ng-click="imgUpdate()">上传</button>-->
		</div>
<!--		<div class="img_update_example" ng-if="materialDetailData.samplePath!==null" style="display: none;">-->
<!--			<span class="img_update_example_span">示例图片</span>-->
<!--			<img ng-src="{{samplePath()}}" class="thumbnail img_update_example_view" width="100px" height="100px" ng-click="imgShow($event)" />-->
<!--		</div>-->
<!--		<div class="img_update_example" ng-if="materialDetailData.samplePath===null">-->
<!--			<span class="img_update_example_none">抱歉，没有示例图片</span>-->
<!--		</div>-->
	</div>
</div>
